<div class="header_manage agent-header">
    <div class="header_wrap_manage">
        <img id="subLogo" src="" style=" display:none;" alt="">
        <h2 id="headerTip" data-hasqtip="0" aria-describedby="qtip-0">佳派照明</h2><span class="h2-spec">订货系统</span>
        <ul class="options">
            <!--购物车-->
            <li class="cart">
                <if condition="session('uid') eq null">
                    <a href="{:U('login')}">
                        <i></i>购物车
                        <span code="WBO_SHOPPINGCART" class="menu1 new-con-p"></span>
                    </a>
                    <else/>
                    <a href="{:U('shop_cart')}">
                        <i></i>购物车<span class="shoppingcartNum lite-red"  id="shop" style=" background: #e05a50;border-radius: 20px;padding: 1px 5px;color: #fff !important;margin-left: 5px;">{$cart_num}</span>
                        <span code="WBO_SHOPPINGCART" class="menu1 new-con-p"></span>
                    </a>
                </if>
            </li>

            <!--公告-->
            <li class="info" onclick="location.href='dh_announcement.php'">
                <i></i><span class="infoNum hide" style="display: none;">0</span><span class="menu1" code="WBO_MESSAGE">消息</span>
                <ul class="container">
                    <div id="newMessageDIV" style="display:none"></div>
                    <li><a code="WBO_MESSAGE_BUSNESS" class="menu2">系统公告</a></li>
                </ul>
            </li>

            <if condition="session('uid') eq null">
                <li class="user" onclick="location.href='login.html'">
                    <span class="bindMobile"></span><i></i><span class="userName">登录</span>
                </li>

                <li class="user" onclick='location.href="zhuce.html"'>
                    <span class="bindMobile"></span><i></i><span class="userName">注册</span>
                </li>
            <else/>
                <!--当前用户名字-->
                <li class="user">
                    <span class="bindMobile"></span><i></i><span class="userName">{:session('username')}</span>
                    <ul class="container"><li><a code="WBO_SETTING_RECEIPT" class="menu2" href="{:U('login_out')}">退出登录</a></li></ul>
                </li>

                <!--用户管理收货地址-->
                <li class="setting" onclick="location.href='dh_account_information.php'">
                    <i></i><span class="menu1" code="WBO_SETTING">设置</span>
                    <ul class="container">
                        <li><a code="WBO_SETTING_RECEIPT" href="dh_user_updata.php" class="menu2">修改密码</a></li>
                        <li><a code="WBO_SETTING_RECEIPT" class="menu2">收货信息管理</a></li>
                    </ul>
                </li>
            </if>
        </ul>
        <div class="cb"></div>

        <form action="{:U('shopping')}" method="get">
            <div class="search-box unfocus-search-box">
                <div class="fr search-con" style="margin-right:-41px;">
                    <select class="ui-combo-wrap" id="searchComboWrap" name="searchComboWrap" style="cursor: default; width: 109px;height:30px;">
                        <option>商品名称</option>
                    </select>

                    <input type="text" class="ui-input search" value="{$search}" name="searchshop" placeholder="请输入商品名称" autocomplete="off">
                    <button type="submit" class="ui-search-ico" id="op-search" title="查找" style="border:none;cursor: pointer">查找</button>

                </div>
            </div>
        </form>
    </div>
</div>